package com.example.decorate.extend;

import com.example.decorate.A;
import com.example.decorate.BDecorateAbstract;

public class DDecorateObject extends BDecorateAbstract {
    public DDecorateObject(A a) {
        super(a);
    }

    public void doSomething() {
        System.out.println("装饰-D01");
        super.doSomething();
        System.out.println("装饰-D02");
    }
}
